package com.harlov.robanuka.weapons;

import com.harlov.robanuka.support.gameobjects;
import com.harlov.robanuka.weapons.weapon.WepType;

public class weapons_manager {
	
	public WepType rel_wep;
	
	public laser mLaser;
	
	private int angel;
	
	public weapons_manager(final gameobjects sWorld)
	
	{
		mLaser = new laser(sWorld);
		rel_wep = WepType.weapon_laser;
	}
	
	public void switch_wep(WepType want_wep)
	{
		rel_wep = want_wep;
			
	}
	
	public void setAng(int ang) {
		this.angel = ang;
		mLaser.setAng(this.angel);
	}
	
	public int getAng()
	{
		return this.angel;
	}
	
	public void shot()
	{
		mLaser.shot();
	}
}
